class CreateMilestones < ActiveRecord::Migration
  def self.up
    create_table :milestones do |t|
		 	t.column :headline,   :string
      t.column :body,       :text
      t.column :year,       :integer
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
    end
		
		Milestone.create(
      :headline => "Founding",
      :body  		=> %{<p>With the fundamental belief that interactive voice problems were easier and cheaper to solve in a service, rather than a product, model, Vail was founded in 1991.</p><p>Vail was a service provider in the age of expensive products and big carriers. Vail quickly became an industry leader in developing computer telephony applications and providing "state-of-the-art" hosting services.</p>},
      :year     => "1991"
    )
    Milestone.create(
      :headline => "Call Processing Platform",
      :body  		=> %{<p>Vail developed a call processing platform that integrated telephony-grade Intel®-based hardware, open source operating system software, and Vail-developed software based on industry standard protocols. This platform continues to operate today without any system-wide failures while steadily growing to handle higher call volumes and new generations of applications.</p>},
      :year     => "1993"
    )
    Milestone.create(
      :headline => "Redundancy and Second Data Center",
      :body  		=> %{<p>Vail opened a second, fully redundant, platform on a separate power grid in 1994 to further insure application reliability and expand call volume capacity.</p>},
      :year     => "1994"
    )
    Milestone.create(
      :headline => "Vail Voice Platform",
      :body 		=> %{<p>Building on its reputation as an innovator, Vail developed the Vail Voice Platform and launched its first speech recognition application in 1996.</p><p>In October of the same year, conceptual and application development began on the Webley Personal Assistant®. A logical extension of the plug-and-play functionality of the voice platform that Vail pioneered, Webley was one of the industry's first speech-enabled unified communications services, featuring a virtual attendant and giving clients single phone number-access to a diverse array of calling and messaging services. Vail spun off this technology into Webley Systems in early 1998.</p>},
      :year     => "1996"
    )
    Milestone.create(
      :headline => "Vail Network Operations Center",
      :body  		=> %{<p>Vail opened the Vail Network Operations Center (VNOC) in June 1999 to provide round-the-clock network, platform and application-level monitoring and testing. VNOC staff check all production applications and critical network and platform elements to prevent failures before they happen.</p>},
      :year     => "1999"
    )
    Milestone.create(
      :headline => "SIP and VoiceXML",
      :body  		=> %{<p>Vail converted the underlying framework of the Vail Voice Platform to Session Initiation Protocol (SIP)-based Voice-over-IP (VoIP) and added a VoiceXML programming interface.</p><p>This conversion heralded a new chapter in Vail's continued committment to open standards and building next generation network services. With VoiceXML, the Vail Voice Platform became home to a new class of speech application that could be developed within a customer's web infrastructure. SIP added unprecedented scalability and flexibility. Customers realized tremendous cost savings and added features by delivering enhanced services like audio conferencing and voice IVR applications over their VoIP networks.</p>},
      :year     => "2000"
    )
    Milestone.create(
      :headline => "Versay",
      :body  		=> %{<p>As the demand for individually customized speech applications grew, Vail recognized a need for a new type of solution provider— one that would consult with enterprises about all of the factors that contribute to a cost-effective and successful speech strategy. Vail decided to build a company with the skill set and focus to deliver end-to-end speech solutions that decrease costs and improve customer service for enterprises. <a href="http://www.versay.com/">Versay Solutions</a> was founded by Vail as a wholly owned subsidiary in February, 2002.</p>},
      :year     => "2001"
    )
    Milestone.create(
      :headline => "Microsoft Partnership",
      :body 		=> %{<p>Vail saw tremendous growth in the speech-enabled IVR market in 2003. The year was marked by several large application developments for major accounts. In the Summer, Vail announced a strategic relationship with Microsoft Speech Server and joined the MSS Partner Program. As part of this alliance, Vail has added SALT application support to the Vail Voice Platform.</p>},
      :year     => "2003"
    )
    Milestone.create(
      :headline => "Four Million Calls in a Single Day",
      :body  		=> %{<p>Vail completes 4 million calls in a single day.</p>},
      :year     => "2004"
    )
		Milestone.create(
      :headline => "150% Volume Testing, VXML/CCXML and CTI",
      :body  		=> %{<p>In November we upgrade our VXML interrupt to 2.1 and introduced CCXML 1.0. In September, we introduced The policy of volume testing all major new applications at 150% expected production volumes.</p><p>Also in 2005, we introduced a generalized computer telephony Intergration (CTI) service for customers to implement a fully integrated call center and IVR strategy.</p>},
      :year     => "2005"
    )
		Milestone.create(
	    :headline => "Muti-Fault-Tolerant, Call Recording and Audio Conferencing",
      :body  		=> %{<p>Vail places into service a platform level call recording and call storage system. Also Vail develops a new "state-of-the-art" conferencing system. Total call volume using Vail technology reaches 2 billion minutes.</p><p>Vail extends it platform architecture to include Multi-Fault-Tolerant.</p>},
      :year     => "2006"
    )
		Milestone.create(
		  :headline => "Four Billion Minutes and Third Data Centers",
      :body  		=> %{<p>In March, Vail brought its third Data Center in Southfield Michigan online. In August, Launches a new website and a new Real-time Reporting Service.</p><p>Vail introduces a automated systems to continuously test each application according to set schedule.</p><p>Total volumes past 4 billion minutes.</p>},
      :year     => "2007"
    )
  end

  def self.down
    drop_table :milestones
  end
end
